package org.example.area;

/**
 * @author sunshuai
 * @date 2022/4/9 10:01
 * @description: 区划名称
 */
public class AreaDto {
    private String provinceName;
    private String cityName;
    private String countyName;
    private String townName;
    private String villageName;

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getCountyName() {
        return countyName;
    }

    public void setCountyName(String countyName) {
        this.countyName = countyName;
    }

    public String getTownName() {
        return townName;
    }

    public void setTownName(String townName) {
        this.townName = townName;
    }

    public String getVillageName() {
        return villageName;
    }

    public void setVillageName(String villageName) {
        this.villageName = villageName;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public AreaDto(String provinceName, String cityName, String countyName,String townName,  String villageName) {
        this.provinceName = provinceName;
        this.cityName = cityName;
        this.countyName = countyName;
        this.townName = townName;
        this.villageName = villageName;
    }

    public AreaDto() {
        this.provinceName = "";
        this.cityName = "";
        this.countyName = "";
        this.townName = "";
        this.villageName = "";
    }

    @Override
    public String toString() {
        return provinceName+cityName+countyName+townName+villageName;
    }
}
